<!DOCTYPE html>
<!--[if IE 8]> <html lang="en" class="ie8"> <![endif]-->
<!--[if IE 9]> <html lang="en" class="ie9"> <![endif]-->
<!--[if !IE]><!--> <html lang="en"> <!--<![endif]-->
<!-- BEGIN HEAD -->
<head>
    <meta charset="utf-8" />
    <title>@yield('page-title')</title>
    <meta content="" name="description" />
    <meta content="" name="author" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link rel="stylesheet" href="{{ url('/assets/demoyy/css/lib/bootstrap.css') }}">
    <link rel="stylesheet" href="{{ url('/assets/demoyy/css/auth.css') }}">
    <link rel="shortcut icon" href="{{ url('/media/image/favicon.ico') }}" />
</head>
<!-- END HEAD -->
<!-- BEGIN BODY -->
<body class="auth-body">
old
{{ dump(Request::old()) }}
Request::input
{{ dump(Request::input()) }}
{{-- 表单验证失败时, Laravel自动注入一个$errors变量到视图文件, 该变量是MessageBag的一个实例, 包含了所有的验证失败信息 --}}
$errors
{{ dump($errors->toArray()) }}
{{-- 邮件发送成功时, Laravel自动注入一个$status变量到视图文件 --}}
{{--return redirect()->back()->with('status', trans($response));--}}
{{--但是与return view('auth.password')->with('status', 'value')--}}
{{--只能使用Session::get('status')的方式获取变量, 不能直接使用$status获取变量--}}
$status
{{--{{ isset($status) ? dump($status) : dump([]) }}--}}
{{ dump(Session::get('status')) }}
<div class="container">
    <div class="row">
        <!-- BEGIN LOGO -->
        <div class="logo">
            <img src="{{ url('/media/image/logo-big.png') }}" alt="" />
        </div>
        <!-- END LOGO -->
        <!-- BEGIN LOGIN -->
        <div class="content">
            <!-- BEGIN LOGIN FORM -->
            @yield('page-content')
            <!-- END LOGIN FORM -->
            <!-- BEGIN FORGOT PASSWORD FORM -->
            <!--
            <form class="form-vertical forget-form" action="index.html">
                <h3 class="">Forget Password ?</h3>
                <p>Enter your e-mail address below to reset your password.</p>
                <div class="control-group">
                    <div class="controls">
                        <div class="input-icon left">
                            <i class="icon-envelope"></i>
                            <input class="m-wrap placeholder-no-fix" type="text" placeholder="Email" name="email" />
                        </div>
                    </div>
                </div>
                <div class="form-actions">
                    <button type="button" id="back-btn" class="btn">
                        <i class="m-icon-swapleft"></i> Back
                    </button>
                    <button type="fullsubmit" class="btn green pull-right">
                        Submit <i class="m-icon-swapright m-icon-white"></i>
                    </button>
                </div>
            </form>
            ->
            <!-- END FORGOT PASSWORD FORM -->
            <!-- BEGIN REGISTRATION FORM -->
            <!--
            <form class="form-vertical register-form" action="index.html">
                <h3 class="">Sign Up</h3>
                <p>Enter your account details below:</p>
                <div class="control-group">
                    <label class="control-label visible-ie8 visible-ie9">Username</label>
                    <div class="controls">
                        <div class="input-icon left">
                            <i class="icon-user"></i>
                            <input class="m-wrap placeholder-no-fix" type="text" placeholder="Username" name="username"/>
                        </div>
                    </div>
                </div>
                <div class="control-group">
                    <label class="control-label visible-ie8 visible-ie9">Password</label>
                    <div class="controls">
                        <div class="input-icon left">
                            <i class="icon-lock"></i>
                            <input class="m-wrap placeholder-no-fix" type="password" id="register_password" placeholder="Password" name="password"/>
                        </div>
                    </div>
                </div>
                <div class="control-group">
                    <label class="control-label visible-ie8 visible-ie9">Re-type Your Password</label>
                    <div class="controls">
                        <div class="input-icon left">
                            <i class="icon-ok"></i>
                            <input class="m-wrap placeholder-no-fix" type="password" placeholder="Re-type Your Password" name="rpassword"/>
                        </div>
                    </div>
                </div>
                <div class="control-group">
                -->
            <!--ie8, ie9 does not support html5 placeholder, so we just show field title for that-->
            <!--
                    <label class="control-label visible-ie8 visible-ie9">Email</label>
                    <div class="controls">
                        <div class="input-icon left">
                            <i class="icon-envelope"></i>
                            <input class="m-wrap placeholder-no-fix" type="text" placeholder="Email" name="email"/>
                        </div>
                    </div>
                </div>
                <div class="control-group">
                    <div class="controls">
                        <label class="checkbox">
                            <input type="checkbox" name="tnc"/> I agree to the <a href="#">Terms of Service</a> and <a href="#">Privacy Policy</a>
                        </label>
                        <div id="register_tnc_error"></div>
                    </div>
                </div>
                <div class="form-actions">
                    <button id="register-back-btn" type="button" class="btn">
                        <i class="m-icon-swapleft"></i>  Back
                    </button>
                    <button type="submit" id="register-submit-btn" class="btn green pull-right">
                        Sign Up <i class="m-icon-swapright m-icon-white"></i>
                    </button>
                </div>
            </form>
            -->
            <!-- END REGISTRATION FORM -->
        </div>
        <!-- END LOGIN -->
        <!-- BEGIN COPYRIGHT -->
        <div class="copyright">
            2015 &copy; Laravel 5. Bootstrap 3. <br>Demo Yang.
        </div>
        <!-- END COPYRIGHT -->
    </div>
</div>
</body>
<!-- END BODY -->
</html>
